Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add float16 support to load op #10541

Merged
merged 4 commits into from
May 10, 2018
Merged

Conversation

kexinzhao
Copy link
Contributor

@kexinzhao kexinzhao commented May 9, 2018

Now save op support saving float32 weights as float16 on disk.
This can be easily extended to load op so that it can load float32 weights from disk to float16 weights in the scope.

@sidgoyal78 can work on add float16 option to load_combined_op after this pr is approved.

@kexinzhao kexinzhao requested a review from sidgoyal78 May 9, 2018 21:41
sidgoyal78
sidgoyal78 previously approved these changes May 9, 2018
Copy link
Contributor

@sidgoyal78 sidgoyal78 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR, this looks good.

Copy link
Contributor

@sidgoyal78 sidgoyal78 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kexinzhao kexinzhao merged commit cc75e84 into PaddlePaddle:develop May 10, 2018
@kexinzhao kexinzhao deleted the load_fp16 branch May 10, 2018 07:20
@Xreki Xreki added the 预测 原名Inference,包含Capi预测问题等 label May 16, 2018
@Xreki Xreki added this to Support FP16 in Inference Framework May 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
预测 原名Inference,包含Capi预测问题等
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants